<?php

namespace zhtfrontend\models\datas;

use Yii;

/**
 * This is the model class for table "{{%classroom_group_relation}}".
 *
 * @property integer $classroom_group_id
 * @property integer $classroom_id
 * @property integer $is_use
 */
class ClassroomGroupRelation extends \zhtfrontend\components\bases\BaseModel
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return '{{%classroom_group_relation}}';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['classroom_group_id', 'classroom_id','is_use'], 'integer'],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'classroom_group_id' => Yii::t('zhtfrontend', '教室组id'),
            'classroom_id' => Yii::t('zhtfrontend', '教室id'),
            'is_use' => Yii::t('zhtfrontend', '是否使用'),
        ];
    }


}
